﻿using oModbus.Message;

namespace oModbus.Device
{
    interface IModbusSlave
    {     /// <summary>
          /// Gets the unit id of this slave.
          /// </summary>
        byte SlaveId { get; }

        ///// <summary>
        ///// Gets the data store for this slave.
        ///// </summary>
        //ISlaveDataStore DataStore { get; }

        ///// <summary>
        ///// Applies the request.
        ///// </summary>
        ///// <param name="request"></param>
        ///// <returns></returns>
        //IModbusMessage ApplyRequest(IModbusMessage request);
    }
}
